<template>
    <div class="form">
        <div class="row">
            <el-icon color="#333333" class="icon"><User /></el-icon>
            <el-input placeholder="请输入账号" v-model="form.username" clearable/>
        </div>
        <div class="row">
            <el-icon color="#333333" class="icon"><Unlock /></el-icon>
            <el-input placeholder="请输入密码" v-model="form.password" clearable/>
        </div>
        <div class="row">
            <el-icon color="#333333" class="icon"><Unlock /></el-icon>
            <el-input placeholder="重复密码" v-model="form.password2" clearable/>
        </div>
        <el-button type="primary" @click="handleRegister" class="btn">注册</el-button>
    </div>
</template>
<script setup lang="ts">
import {useRegisterFunctions} from '/@/components/hzsystem/LoginPublicFuncation';

const {form, handleRegister} = useRegisterFunctions();
</script>
<style scoped lang="css">
@import "./style.scss";
</style>